package filehomework;

import java.io.File;

public class test06 {
    public static void main(String[] args) {
        File dir = new File("./src/filehomework");
        if(dir.isDirectory()){
            File[] subs=dir.listFiles(file -> file.getName().contains("s"));
            for (File sub :subs){
                System.out.println(sub.getName());
            }
        }

    }
}
